﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LimaLims.Core.Entity.Equipment
{
    /// <summary>
    /// 仪器分类表
    /// </summary>
    [Comment("仪器分类表")]
    public class EquipmentCategory : DEntityTenant
    {

        /// <summary>
        /// 分类名称
        /// </summary>
        [Comment("分类名称")]
        [Required]
        public string Name { get; set; }

        /// <summary>
        /// 所属父类Id
        /// </summary>
        [Comment("所属父类Id")]
        public long? ParentId { get; set; }

        /// <summary>
        /// 父Ids
        /// </summary>
        [Comment("父Ids")]
        public string Pids { get; set; }
    }
}
